from fastapi import FastAPI
import uvicorn

from app.routers.users import router as token_router
from app.routers.auth import router as auth_router

app = FastAPI()
# 注册路由
app.include_router(router=token_router, prefix="/api/v1", tags=["用户管理"])
app.include_router(router=auth_router, prefix="/api/v1", tags=["token管理"])

if __name__ == "__main__":
    uvicorn.run(app="main:app", host="127.0.0.1", port=8888, reload=True)
